from datetime import datetime
import pytest
from tools.decorators import log_decorator
from 数据获取.聚水潭获取excel import 聚水潭导出


@pytest.mark.run()
@log_decorator
@pytest.mark.flaky(reruns=2, reruns_delay=2, reruns_show_all=True)
def 物流揽收预警_test(login_聚水潭, date_hour):
    date = datetime.now().strftime('%Y-%m-%d')
    聚水潭导出(date, date_hour)
